//
//  StoryRequestInfo.swift
//  App
//
//  Created by 汤泽川 on 2019/4/14.
//

import Foundation
import Vapor

struct FetchStoryRequest : Content {
    var channelId : Int
    var page : Int
    var count : Int
}

struct UploadStoryRequest : Content {
    var storyName : String
    var introduce : String
    var avatarUrl : String?
    var channelId : Int
    var storyUrl  : String
}

struct SearchStoryInfo : Content {
    var keyword : String
    var page : Int
    var count : Int
}

struct SearchAuthorStoryInfo : Content {
    var authorName : String
    var page : Int
    var count : Int
}
struct CollectionStoryRequest : Content {
    var storyId : Int
    var state : Int
}

struct QueryCollectionStoryStateRequest : Content {
    var  storyId : Int
}

struct QueryCollectionStoryRequest : Content {
    var page : Int
    var count : Int
}
